package cloud.seri.iot.manager.client

import java.io.IOException

import org.springframework.context.annotation.Bean

import feign.RequestInterceptor

class OAuth2UserClientFeignConfiguration {

    @Bean(name = ["userFeignClientInterceptor"])
    @Throws(IOException::class)
    fun getUserFeignClientInterceptor(): RequestInterceptor {
        return UserFeignClientInterceptor()
    }
}
